<%-- 
    Document   : assign_project_result
    Created on : Mar 20, 2010, 5:01:39 PM
    Author     : stanley.2007
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@ include file="common.jsp" %>
<%            // Main Application Logic Comes Here

%>

<HTML>
    <c:set var="title" value="MIC Tycoon ~ Assign Project Result Page"/>
    <%@ include file="htmlheader.jsp" %>

    <body>
        <div id="resolution">

            <%@ include file="header.jsp" %>
            <%@ include file="menu.jsp" %>

            <div class="content">

                <div id="manage_project">

                    <img src="<%= realURL("", url)%>images/titles/assign-emp-result.png" border="0" />

                    <!-- TRAIN EMPLOYEE -->
                    <div id="paper-holder-landscape-small">

                        <div id="paper-content-over-project">
                            <c:if test="${project.man_hours_dot_net ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_dot_net !=0}"><div id="manhours-on">${project.man_hours_dot_net}</div></c:if>
                            <c:if test="${project.man_hours_c_sharp ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_c_sharp !=0}"><div id="manhours-on">${project.man_hours_c_sharp}</div></c:if>
                            <c:if test="${project.man_hours_jsp ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_jsp !=0}"><div id="manhours-on">${project.man_hours_jsp}</div></c:if>
                            <c:if test="${project.man_hours_php ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_php !=0}"><div id="manhours-on">${project.man_hours_php}</div></c:if>
                            <c:if test="${project.man_hours_ruby ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_ruby !=0}"><div id="manhours-on">${project.man_hours_ruby}</div></c:if>
                            <c:if test="${project.man_hours_mysql ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_mysql !=0}"><div id="manhours-on">${project.man_hours_mysql}</div></c:if>
                            <c:if test="${project.man_hours_mssql ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_mssql !=0}"><div id="manhours-on">${project.man_hours_mssql}</div></c:if>
                            <c:if test="${project.man_hours_oracle ==0}"><div id="manhours-off">&nbsp;</div></c:if>
                            <c:if test="${project.man_hours_oracle !=0}"><div id="manhours-on">${project.man_hours_oracle}</div></c:if>
                        </div>

                        <div id="paper-content-landscape">
                            <b>Project </b>[<b>#${project.project_id}</b>] Company Name
                            <br/>
                            <b>Payout:</b> ${project.bidded_price_string}

                            <hr/><b>Remaining Hours:</b><br />

                            <img src="<%= realURL("", url)%>images/logos/logo-levels-h.png" border="0" />
                        </div>
                    </div>

                        <div><a href="<%= realURL("",url)%>servlet/project/view">back to project list</a></div>

                    <img src="<%= realURL("", url)%>images/titles/assigned-emp.png" border="0" />

                    <c:forEach items="${employee_list}" var="employee">
                        <div id="paper-holder-landscape-small">
                            <div id="paper-content-over-assign">
                                <div id="lvl-on">${employee.skillPoints_dot_net}</div>
                                <div id="lvl-on">${employee.skillPoints_c_sharp}</div>
                                <div id="lvl-on">${employee.skillPoints_jsp}</div>
                                <div id="lvl-on">${employee.skillPoints_php}</div>
                                <div id="lvl-on">${employee.skillPoints_ruby}</div>
                                <div id="lvl-on">${employee.skillPoints_mysql}</div>
                                <div id="lvl-on">${employee.skillPoints_mssql}</div>
                                <div id="lvl-on">${employee.skillPoints_oracle}</div>
                            </div>

                            <div id="paper-content-landscape">
                                <b>Employee Assignment:</b> [<b>#${employee.employee_id}</b>] <br />
                                <b>Hours remaining:</b> ${employee.hours_remaining}
                                <hr/><b>Assign Employee:</b><br />
                                <img src="<%= realURL("", url)%>images/logos/logo-levels-h.png" border="0" />

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_dot_net>0}">
                                        ${employee.hour_dot_net}
                                    </c:if>
                                </div>

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_c_sharp>0}">
                                        ${employee.hour_c_sharp}
                                    </c:if>
                                </div>

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_jsp>0}">
                                       ${employee.hour_jsp}
                                    </c:if>
                                </div>

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_php>0}">
                                        ${employee.hour_php}
                                    </c:if>
                                </div>

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_ruby > 0}">
                                        ${employee.hour_ruby}
                                    </c:if>
                                </div>

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_mysql > 0}">
                                       ${employee.hour_mysql}
                                    </c:if>
                                </div>

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_mssql > 0}">
                                        ${employee.hour_mssql}
                                    </c:if>
                                </div>

                                <div id="assign-grid">
                                    <c:if test="${employee.hour_oracle > 0}">
                                        ${employee.hour_oracle}
                                    </c:if>
                                </div>
                            </div>

                        </div>
                    </c:forEach>
            </div>
            </div>
        </div>
    </BODY>
</HTML>
